package com.jd.risk.bankorder.util.file;


public class FtpConfig implements Cloneable{
	
	private String host;
	
	private Integer port;
	
	private String userName;
	
	private String password;
	
	private String directory;

	
	
	@Override
	public FtpConfig clone(){
		FtpConfig child = new FtpConfig();
		try{
			child = (FtpConfig)super.clone();	
		}catch(Exception e){
			child.setDirectory(this.directory);
			child.setHost(this.host);
			child.setPassword(this.password);
			child.setPort(this.port);
			child.setUserName(this.userName);
		}
		return child;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDirectory() {
		return directory;
	}

	public void setDirectory(String directory) {
		this.directory = directory;
	}
	
}
